# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'schedule_manager.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *


class Ui_ScheduleManagerDialog(object):
    def setupUi(self, ScheduleManagerDialog):
        if not ScheduleManagerDialog.objectName():
            ScheduleManagerDialog.setObjectName(u"ScheduleManagerDialog")
        ScheduleManagerDialog.resize(600, 500)
        ScheduleManagerDialog.setStyleSheet(u"QDialog {\n"
"    background-color: #f8f9fa;\n"
"    border-radius: 5px;\n"
"}")
        self.verticalLayout = QVBoxLayout(ScheduleManagerDialog)
        self.verticalLayout.setSpacing(15)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(15, 15, 15, 15)
        self.title_layout = QHBoxLayout()
        self.title_layout.setObjectName(u"title_layout")
        self.title_label = QLabel(ScheduleManagerDialog)
        self.title_label.setObjectName(u"title_label")
        font = QFont()
        font.setFamily(u"Arial")
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.title_label.setFont(font)
        self.title_label.setStyleSheet(u"color: #333;")

        self.title_layout.addWidget(self.title_label)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.title_layout.addItem(self.horizontalSpacer)

        self.close_btn = QPushButton(ScheduleManagerDialog)
        self.close_btn.setObjectName(u"close_btn")
        self.close_btn.setMinimumSize(QSize(24, 24))
        self.close_btn.setMaximumSize(QSize(24, 24))
        self.close_btn.setStyleSheet(u"QPushButton {\n"
"    background-color: transparent;\n"
"    color: #666;\n"
"    border: none;\n"
"    font-size: 16px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #f0f0f0;\n"
"    color: #333;\n"
"    border-radius: 12px;\n"
"}")

        self.title_layout.addWidget(self.close_btn)


        self.verticalLayout.addLayout(self.title_layout)

        self.splitter = QSplitter(ScheduleManagerDialog)
        self.splitter.setObjectName(u"splitter")
        self.splitter.setOrientation(Qt.Vertical)
        self.form_group = QGroupBox(self.splitter)
        self.form_group.setObjectName(u"form_group")
        self.form_group.setStyleSheet(u"QGroupBox {\n"
"    border: 1px solid #e0e0e0;\n"
"    border-radius: 5px;\n"
"    margin-top: 10px;\n"
"    padding: 10px;\n"
"}\n"
"QGroupBox::title {\n"
"    subcontrol-origin: margin;\n"
"    subcontrol-position: top left;\n"
"    padding: 0 5px;\n"
"    background-color: transparent;\n"
"    color: #555;\n"
"    font-weight: bold;\n"
"}")
        self.form_layout = QVBoxLayout(self.form_group)
        self.form_layout.setSpacing(10)
        self.form_layout.setObjectName(u"form_layout")
        self.form_layout.setContentsMargins(15, 15, 15, 15)
        self.form_grid = QGridLayout()
        self.form_grid.setSpacing(10)
        self.form_grid.setObjectName(u"form_grid")
        self.label_name = QLabel(self.form_group)
        self.label_name.setObjectName(u"label_name")
        self.label_name.setStyleSheet(u"color: #333;\n"
"font-size: 13px;")

        self.form_grid.addWidget(self.label_name, 0, 0, 1, 1)

        self.name_input = QLineEdit(self.form_group)
        self.name_input.setObjectName(u"name_input")
        self.name_input.setStyleSheet(u"padding: 5px;\n"
"border: 1px solid #ccc;\n"
"border-radius: 3px;\n"
"background-color: white;\n"
"selection-background-color: #007BFF;\n"
"selection-color: white;")

        self.form_grid.addWidget(self.name_input, 0, 1, 1, 1)

        self.label_date = QLabel(self.form_group)
        self.label_date.setObjectName(u"label_date")
        self.label_date.setStyleSheet(u"color: #333;\n"
"font-size: 13px;")

        self.form_grid.addWidget(self.label_date, 1, 0, 1, 1)

        self.date_input = QDateEdit(self.form_group)
        self.date_input.setObjectName(u"date_input")
        self.date_input.setCalendarPopup(True)
        self.date_input.setStyleSheet(u"padding: 5px;\n"
"border: 1px solid #ccc;\n"
"border-radius: 3px;\n"
"background-color: white;\n"
"selection-background-color: #007BFF;\n"
"selection-color: white;")

        self.form_grid.addWidget(self.date_input, 1, 1, 1, 1)

        self.label_time = QLabel(self.form_group)
        self.label_time.setObjectName(u"label_time")
        self.label_time.setStyleSheet(u"color: #333;\n"
"font-size: 13px;")

        self.form_grid.addWidget(self.label_time, 2, 0, 1, 1)

        self.time_input = QTimeEdit(self.form_group)
        self.time_input.setObjectName(u"time_input")
        self.time_input.setStyleSheet(u"padding: 5px;\n"
"border: 1px solid #ccc;\n"
"border-radius: 3px;\n"
"background-color: white;\n"
"selection-background-color: #007BFF;\n"
"selection-color: white;")

        self.form_grid.addWidget(self.time_input, 2, 1, 1, 1)

        self.label_limit = QLabel(self.form_group)
        self.label_limit.setObjectName(u"label_limit")
        self.label_limit.setStyleSheet(u"color: #333;\n"
"font-size: 13px;")

        self.form_grid.addWidget(self.label_limit, 3, 0, 1, 1)

        self.limit_input = QSpinBox(self.form_group)
        self.limit_input.setObjectName(u"limit_input")
        self.limit_input.setMinimum(1)
        self.limit_input.setMaximum(50)
        self.limit_input.setValue(20)
        self.limit_input.setStyleSheet(u"padding: 5px;\n"
"border: 1px solid #ccc;\n"
"border-radius: 3px;\n"
"background-color: white;\n"
"selection-background-color: #007BFF;\n"
"selection-color: white;")

        self.form_grid.addWidget(self.limit_input, 3, 1, 1, 1)

        self.label_repeat = QLabel(self.form_group)
        self.label_repeat.setObjectName(u"label_repeat")
        self.label_repeat.setStyleSheet(u"color: #333;\n"
"font-size: 13px;")

        self.form_grid.addWidget(self.label_repeat, 4, 0, 1, 1)

        self.repeat_select = QComboBox(self.form_group)
        self.repeat_select.addItem("")
        self.repeat_select.addItem("")
        self.repeat_select.addItem("")
        self.repeat_select.addItem("")
        self.repeat_select.setObjectName(u"repeat_select")
        self.repeat_select.setStyleSheet(u"padding: 5px;\n"
"border: 1px solid #ccc;\n"
"border-radius: 3px;\n"
"background-color: white;\n"
"selection-background-color: #007BFF;\n"
"selection-color: white;")

        self.form_grid.addWidget(self.repeat_select, 4, 1, 1, 1)


        self.form_layout.addLayout(self.form_grid)

        self.button_layout = QHBoxLayout()
        self.button_layout.setObjectName(u"button_layout")
        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.button_layout.addItem(self.horizontalSpacer_2)

        self.add_btn = QPushButton(self.form_group)
        self.add_btn.setObjectName(u"add_btn")
        self.add_btn.setMinimumHeight(30)
        self.add_btn.setStyleSheet(u"QPushButton {\n"
"    background-color: #007BFF;\n"
"    color: white;\n"
"    border: none;\n"
"    border-radius: 3px;\n"
"    padding: 5px 15px;\n"
"    font-size: 13px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #0069d9;\n"
"}\n"
"QPushButton:pressed {\n"
"    background-color: #0056b3;\n"
"}\n"
"QPushButton:disabled {\n"
"    background-color: #cccccc;\n"
"    color: #666666;\n"
"}")

        self.button_layout.addWidget(self.add_btn)


        self.form_layout.addLayout(self.button_layout)

        self.splitter.addWidget(self.form_group)
        self.list_group = QGroupBox(self.splitter)
        self.list_group.setObjectName(u"list_group")
        self.list_group.setStyleSheet(u"QGroupBox {\n"
"    border: 1px solid #e0e0e0;\n"
"    border-radius: 5px;\n"
"    margin-top: 10px;\n"
"    padding: 10px;\n"
"}\n"
"QGroupBox::title {\n"
"    subcontrol-origin: margin;\n"
"    subcontrol-position: top left;\n"
"    padding: 0 5px;\n"
"    background-color: transparent;\n"
"    color: #555;\n"
"    font-weight: bold;\n"
"}")
        self.list_layout = QVBoxLayout(self.list_group)
        self.list_layout.setSpacing(0)
        self.list_layout.setObjectName(u"list_layout")
        self.list_layout.setContentsMargins(15, 15, 15, 15)
        self.list_container = QWidget(self.list_group)
        self.list_container.setObjectName(u"list_container")
        self.verticalLayout_2 = QVBoxLayout(self.list_container)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.schedule_list = QListWidget(self.list_container)
        self.schedule_list.setObjectName(u"schedule_list")
        self.schedule_list.setSpacing(5)
        self.schedule_list.setStyleSheet(u"QListWidget { border: none; }")

        self.verticalLayout_2.addWidget(self.schedule_list)

        self.empty_hint = QLabel(self.list_container)
        self.empty_hint.setObjectName(u"empty_hint")
        self.empty_hint.setAlignment(Qt.AlignCenter)
        self.empty_hint.setStyleSheet(u"color: #999; font-size: 14px;")

        self.verticalLayout_2.addWidget(self.empty_hint)


        self.list_layout.addWidget(self.list_container)

        self.splitter.addWidget(self.list_group)

        self.verticalLayout.addWidget(self.splitter)

        self.bottom_layout = QHBoxLayout()
        self.bottom_layout.setObjectName(u"bottom_layout")
        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.bottom_layout.addItem(self.horizontalSpacer_3)

        self.cancel_btn = QPushButton(ScheduleManagerDialog)
        self.cancel_btn.setObjectName(u"cancel_btn")
        self.cancel_btn.setMinimumHeight(30)
        self.cancel_btn.setStyleSheet(u"QPushButton {\n"
"    background-color: #007BFF;\n"
"    color: white;\n"
"    border: none;\n"
"    border-radius: 3px;\n"
"    padding: 5px 15px;\n"
"    font-size: 13px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #0069d9;\n"
"}\n"
"QPushButton:pressed {\n"
"    background-color: #0056b3;\n"
"}\n"
"QPushButton:disabled {\n"
"    background-color: #cccccc;\n"
"    color: #666666;\n"
"}")

        self.bottom_layout.addWidget(self.cancel_btn)


        self.verticalLayout.addLayout(self.bottom_layout)


        self.retranslateUi(ScheduleManagerDialog)
        self.close_btn.clicked.connect(ScheduleManagerDialog.close)
        self.cancel_btn.clicked.connect(ScheduleManagerDialog.close)

        QMetaObject.connectSlotsByName(ScheduleManagerDialog)
    # setupUi

    def retranslateUi(self, ScheduleManagerDialog):
        ScheduleManagerDialog.setWindowTitle(QCoreApplication.translate("ScheduleManagerDialog", u"\u5b9a\u65f6\u4efb\u52a1\u7ba1\u7406", None))
        self.title_label.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u5b9a\u65f6\u4efb\u52a1\u7ba1\u7406", None))
        self.close_btn.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u00d7", None))
        self.form_group.setTitle(QCoreApplication.translate("ScheduleManagerDialog", u"\u6dfb\u52a0\u65b0\u5b9a\u65f6\u4efb\u52a1", None))
        self.label_name.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u4efb\u52a1\u540d\u79f0:", None))
        self.name_input.setPlaceholderText(QCoreApplication.translate("ScheduleManagerDialog", u"\u4f8b\u5982: \u4e0a\u5348\u6dfb\u52a0\u6821\u53cb", None))
        self.label_date.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u5f00\u59cb\u65e5\u671f:", None))
        self.date_input.setDisplayFormat(QCoreApplication.translate("ScheduleManagerDialog", u"yyyy-MM-dd", None))
        self.label_time.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u6267\u884c\u65f6\u95f4:", None))
        self.time_input.setDisplayFormat(QCoreApplication.translate("ScheduleManagerDialog", u"HH:mm", None))
        self.label_limit.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u6bcf\u65e5\u6dfb\u52a0\u4e0a\u9650:", None))
        self.label_repeat.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u91cd\u590d\u6a21\u5f0f:", None))
        self.repeat_select.setItemText(0, QCoreApplication.translate("ScheduleManagerDialog", u"\u6bcf\u5929", None))
        self.repeat_select.setItemText(1, QCoreApplication.translate("ScheduleManagerDialog", u"\u5de5\u4f5c\u65e5(\u5468\u4e00\u81f3\u5468\u4e94)", None))
        self.repeat_select.setItemText(2, QCoreApplication.translate("ScheduleManagerDialog", u"\u5468\u672b(\u5468\u516d\u81f3\u5468\u65e5)", None))
        self.repeat_select.setItemText(3, QCoreApplication.translate("ScheduleManagerDialog", u"\u4ec5\u4e00\u6b21", None))

        self.add_btn.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u6dfb\u52a0\u4efb\u52a1", None))
        self.list_group.setTitle(QCoreApplication.translate("ScheduleManagerDialog", u"\u5df2\u8bbe\u7f6e\u7684\u5b9a\u65f6\u4efb\u52a1", None))
        self.empty_hint.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u6682\u65e0\u5b9a\u65f6\u4efb\u52a1\\n\u70b9\u51fb\u4e0a\u65b9\"\u6dfb\u52a0\u4efb\u52a1\"\u6309\u94ae\u521b\u5efa", None))
        self.cancel_btn.setText(QCoreApplication.translate("ScheduleManagerDialog", u"\u5173\u95ed", None))
    # retranslateUi

